//
//  LBThreeInputFilter.h
//  OpenGLGame
//
//  Created by Nguyen Cong Huy on 12/9/12.
//  Copyright (c) 2012 UIT. All rights reserved.
//

#ifndef OpenGLGame_LBThreeInputFilter_h
#define OpenGLGame_LBThreeInputFilter_h

#include "LBFilter.h"

class LBThreeInputFilter : public LBFilter{
    
protected:
    GLuint texture2Uniform;
    GLuint texCoor2Attribute;
    LBTexture* texture2;
    
    GLuint texture3Uniform;
    GLuint texCoor3Attribute;
    LBTexture* texture3;
    
public:
    LBThreeInputFilter();
    virtual void init(char* vShaderStr, char* fShaderStr);
    void setTexture2(LBTexture* texture);
    void setTexture3(LBTexture* texture);
    virtual void renderTexture(int x, int y, float scaleX, float scaleY);
};

#endif
